@import 'common';

#print p {
  margin: 20px auto auto;
  text-align: center;
}

img {
  display: block;
  //width: 100%;
  line-height: 0;
}

.cheImg image {
  //transform: rotate(50deg);
}

input {
  width: 100%;
  background-color: transparent;
  outline: 0;
  border: 0;
}

.content {
  position: relative;
  font-size: 12px;
  width: 100%;
  height: 100%;
  background-color: #051627;
}

#print {

  // height: 1200px;
  // width: 1920px;
  width: 100vw;
  height: 100vh;
}

.box {
  position: relative;
  display: flex;
  flex-direction: column;
  background-image: url(../img/header.png);
  background-size: 100% auto;
  background-position: top;
  background-repeat: no-repeat;
  color: $mainColor;
  overflow: hidden;
}

.no-wet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: none;

  div {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    padding: 0 80px;
    background-color: #e7babb;
    color: #7e2d2a;
    font-size: 16px;
    z-index: 10;

    img {
      width: 30px;
      margin-right: 40px;
    }
  }
}

.svg-img {
  width: 100%;
}

.header-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding-left: 12px;
  padding-right: 12px;
  background-image: url('../img/header.jpg');
  background-size: 100% auto;
  background-position: top center;
  z-index: 1;

  .main-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1023px;
  }

  .title-box {
    width: 54.52vw;
    // width: 1048px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .header-main-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    z-index: 1;

    .herder-img {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      z-index: 0;

      i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        img {
          width: 120px;
        }

        &:before {
          content: '';
          position: absolute;
          right: -120px;
          top: 50%;
          width: 100px;
          height: 100%;
          background-image: url("../img/header-tips.png");
          background-size: 100% auto;
          background-repeat: no-repeat;
          background-position: center;
          transform: translateY(-50%) scaleX(-1);
        }

        &:after {
          content: '' ;
          position: absolute;
          left: -120px;
          top: 50%;
          width: 100px;
          height: 100%;
          background-image: url("../img/header-tips.png");
          background-size: 100% auto;
          background-repeat: no-repeat;
          background-position: center;
          transform: translateY(-50%);
        }
      }
    }

    span {
      width: 1px;
      margin-right: 6px;
      height: 15px;
      background-color: $mainColor;
    }

    img {
      position: relative;
      z-index: 2;
      width: 24px;
    }
  }

  .name-box {
    padding: 0 10px;
  }
}

.tips-box {
  display: flex;
  align-items: center;
  position: relative;
  //height: 15px;
  height: 32px;
  padding: 0 12px;
  background-color: rgba(28, 32, 39, .5);
  font-size: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  z-index: 1;

  .tips {
    display: none;
    width: 240px;
    height: 24px;
    padding: 0 12px;
    margin-right: 16px;
    line-height: 24px;
    border-width: 1px;
    border-color: rgb(73, 92, 124);
    border-style: solid;
    background-color: rgb(0, 0, 0);
  }

  #android {
    display: flex;
    align-items: center;

    button {
      background-color: transparent;
      border: 0;
      color: #8aa3b6;
      font-size: 20px;
      margin-left: 30px;
    }

    > div {
      display: flex;
      align-items: center;
    }

    p {
      display: flex;
      align-items: center;
      width: 28px;
      height: 28px;
      margin: 0 4px 0;
      background-image: url("../img/battery.png");
      background-size: 100%;
      padding-left: 1px;
      padding-right: 3px;

      &.power {
        background-image: url("../img/power.png");

        i {
          background-color: #e60f2e;
        }
      }

      i {
        display: block;
        line-height: 24px;
        width: 100%;
        height: 8px;
        background-color: #fff;
      }
    }
  }
}

.select-box {
  position: relative;
  margin-right: 30px;
  border: 1px solid rgb(73, 92, 124);
  background-color: rgb(0, 0, 0);
  width: 299px;
  height: 29px;
  padding: 0 24px 0 8px;
  line-height: 30px;

  input {
    height: 30px;
  }

  &::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 13px;
    height: 12px;
    transform: translateY(-50%);
    background-image: url(../img/triangle.png);
    background-size: 100%;
  }
}

.operate-box {
  &.operate-box-main {
    //display: none;

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #051627;
    z-index: 1;

    .order-main {
      height: 60px;
      background-color: rgb(0, 0, 0);
      border-radius: 5px;
    }
  }
;

  .btn-list {
    width: calc(100% - 20px);
    padding: 4px 0;
    margin: auto;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      width: 100px;
      height: 100px;
      padding: 0;
      background-color: transparent;
      border: 0;
      color: #051627;
      font-size: 22px;
      line-height: 1.2;
      background-image: url("../img/btn-bg.png");
      background-repeat: no-repeat;
      background-size: 100%;
      letter-spacing: 6px;
      text-align: center;
      font-weight: 600;
    }
  }

  .left-box {
    position: absolute;
    top: 50%;
    left: 0;

    image {
      display: none;
      width: 17px;
    }
  }

  .order-list {
    position: relative;
    width: 100%;

    .order-main {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;

      img {
        width: 50px;
        margin: 0 10px;
      }


      .operate-details {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 28px;
        font-size: 16px;
        color: #fff;

        &.active div {
          background-color: #00a7ff;
        }

        div {

          min-width: 102px;
          padding: 0 10px;
          height: 27px;
          border-radius: 5px;
          background-color: rgb(183, 125, 12);
          text-align: center;
        }

        &:last-child {
          img {
            display: none;
          }
        }

        span {
          font-size: 12px;

        }
      }
    }

    .order-btn-box {
      display: none;
    }

    .order-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      width: 100%;

      div {
        border-radius: 4px;
        background-color: rgb(138, 163, 182);
        width: 70px;
        height: 28px;
        margin: 0 20px;
        line-height: 28px;
        font-size: 16px;
        text-align: center;
        color: #3a4454;

        &:first-child {
          color: #fff;
          background-color: #00a7ff;
        }
      }

    }
  }
}

.main-box {
  //margin: 38px 0;
  position: relative;

  .bg-img-box {
    i {
      display: none;

      &.active {
        display: block;
      }
    }
  }

  .svg-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    .magnifier-box {
      position: absolute;
      bottom: 20px;
      right: 60px;

      img {
        width: 40px;
      }
    }
  }

  .btn-box {
    margin-bottom: 20px;
    margin-right: 20px;

    .btn {
      border-width: 1px;
      border-color: rgb(138, 163, 182);
      border-style: solid;
      border-radius: 5px;
      background-color: rgb(14, 40, 67);
      width: 178px;
      height: 48px;
      color: #8aa3b6;

      &.active {
        border: 0;
        background-color: #00a7ff;
        color: #fff
      }
    }

  }
}


.order-box {
  width: 1900px;
  padding: 16px 30px;
  margin: 0 auto;
  border-width: 1px;
  border-color: rgb(138, 163, 182);
  border-style: solid;
  border-radius: 5px;
  background-color: rgb(0, 0, 0);


}

.btn-show {
  display: flex;
  align-items: center;
  justify-content: center;
  //width: 100%;
  button {
    display: inline-block;
    width: 74px;
    height: 30px;
    margin: 0 0 0 40px;
    line-height: 30px;
    border-radius: 4px;
    background-color: rgb(138, 163, 182);
    color: #3a4454;

    &:first-child {
      background-color: rgb(0, 167, 255);
      color: #fff;
    }
  }


}

//.mui-popper, {
//  transform: rotate(90deg) !important;
//  transform-origin: 50% 50%!important;
//}
.btn-span {
  span {
    border-radius: 4px;
    background-color: rgb(0, 167, 255);
    padding: 4px 24px;
    color: #fff;

    &.unbind, &.del {
      background-color: #8aa3b6;
      color: #3a4454;
    }
  }
}

.new-btn-box {
  display: flex;
  border: 1px solid #3a4454;
  height: 177px;

  .stop-btn {
    padding: 12px;

    &.switch-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      width: 180px;
      font-size: 18px;
      border-left: 1px solid #3a4454;

      .mui-switch-box {
        position: relative;

        .mui-switch-posit {
          position: absolute;
          //display: none;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          z-index: 555;
          //background-color: #f00;
        }
      }

      span {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
        color: white;
        text-align: center;
      }

      .low-btn {
        padding: 8px;
        font-size: 12px;
        background: #8aa3b6;
        color: #3a4454;
        border-radius: 4px;

        &.active {
          color: #fff;
          background: #00a7ff;
        }
      }
    }

    &.voice-box {
      border-left: 1px solid #3a4454;

      div {
        display: none;

        img {
          display: block;
        }

        &.active {
          display: flex;
        }
      }
    }

    &.active {
      img {
        display: none;

        &:nth-child(2) {
          display: block;
        }

      }
    }

    .img-box {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 144px;
      height: 144px;
      background-size: 100% 100%;
      background-image: url("../img/stop-bg.png");
    }

    img {
      width: 116px;

      &:nth-child(2) {
        display: none;
      }

    }
  }

  .pattern-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 7px;
    border-left: 1px solid #3a4454;
    border-right: 1px solid #3a4454;

    .pattern-list {
      width: 160px;
      height: 75px;
      background-image: url("../img/btn-block.png");
      background-size: 100% 100%;
      color: #3a4454;

      &.active {
        background-image: url("../img/btn-active.png");
        color: rgb(255, 255, 255);
      }
    }

    span {
      display: block;
      transform: matrix(1.08019618431778, 0, 0, 1.08019618431778, 0, 0);
      font-size: 23px;
      line-height: 78px;
      text-align: center;
      font-weight: bold;
    }
  }
}

.action-list {
  .pattern-btn {
    display: none;
    justify-content: space-around;
    width: 100%;

    &.first {
      //justify-content: space-between;
      padding: 0 36px;
    }

    &.active {
      display: flex;
    }

    .second-box {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 230px;
      height: 153px;
      background-image: url("../img/new-line-bg.png");
      background-size: 100% 100%;

      &.three {
        width: 160px;
        background-image: url("../img/three-bg.png");
      }

      &.zero {
        width: 80px;
        height: 80px;
      }

      .flex-box {
        display: flex;

        &.two-box {
          flex-direction: column;

          .second-list {
            flex-direction: row;
            justify-content: space-between;

            .btn-box {
              margin: 0 2px;
            }
          }
        }

        .second-list {
          display: flex;
          justify-content: center;
          flex-direction: column;
          padding: 0 2px;
        }

        .btn {
          margin: 1px 0;
          background-image: url("../img/new-btn.png");
        }

        .active {
          .btn {
            background-image: url("../img/new-btn-active.png");
          }
        }

      }

      .btn {
        margin: 0 6px;
        width: 64px;
        height: 64px;
        font-size: 14px;
        letter-spacing: 2px;
      }
    }
  }
}

.new-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
}

.mui-show-loading {
  position: fixed;
  padding: 5px;
  width: 120px;
  min-height: 120px;
  top: 45%;
  left: 50%;
  margin-left: -60px;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  border-radius: 5px;
  color: #FFFFFF;
  visibility: hidden;
  margin: 0;
  z-index: 2000;

  -webkit-transition-duration: .2s;
  transition-duration: .2s;
  opacity: 0;
  -webkit-transform: scale(0.9) translate(-50%, -50%);
  transform: scale(0.9) translate(-50%, -50%);
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.mui-show-loading.loading-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1) translate(-50%, -50%);
  transform: scale(1) translate(-50%, -50%);
}

.mui-show-loading .mui-spinner {
  margin-top: 24px;
  width: 36px;
  height: 36px;
}

.mui-show-loading .text {
  line-height: 1.6;
  font-family: -apple-system-font, "Helvetica Neue", sans-serif;
  font-size: 14px;
  margin: 10px 0 0;
  color: #fff;
}

.mui-show-loading-mask {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.mui-show-loading-mask-hidden {
  display: none !important;
}

.popup-svg-img {
  .svg-img-box {
    display: flex;

    img {
      width: 100%;
    }
  }
}

.show-img {
  position: fixed;
  right: 2vw;
  z-index: 30;
  bottom: 40vh;

  img {
    width: 30px;
  }
}

.svg-up-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  //display: none;
  .select-work-box {
    position: absolute;
  }

  .select-work-box-1 {
    width: 243px;
    height: 38px;
    top: 261px;
    left: 127px;
  }

  .select-work-box-2 {
    width: 134px;
    height: 48px;
    top: 191px;
    left: 0;
  }

  .select-work-box-3 {
    width: 128px;
    height: 48px;
    top: 191px;
    left: 135px;
  }

  .select-work-box-4 {
    width: 115px;
    height: 48px;
    top: 191px;
    left: 265px;
  }

  .select-work-box-5 {
    width: 115px;
    height: 48px;
    top: 191px;
    left: 378px;
  }

  .select-work-box-6 {
    width: 115px;
    height: 48px;
    top: 191px;
    left: 495px;
  }

  .select-work-box-7 {
    width: 115px;
    height: 48px;
    top: 191px;
    left: 611px;
  }

  .select-work-box-8 {
    width: 115px;
    height: 48px;
    top: 191px;
    left: 727px;
  }

  .select-work-box-9 {
    width: 123px;
    height: 39px;
    top: 261px;
    left: 380px;
  }

  .select-work-box-10 {
    width: 156px;
    height: 39px;
    top: 261px;
    left: 508px;
  }

  .select-work-box-11 {
    width: 102px;
    height: 39px;
    top: 261px;
    left: 666px;
  }

  .select-work-box-12 {
    width: 122px;
    height: 39px;
    top: 261px;
    left: 771px;
  }

  .select-work-box-13 {
    width: 124px;
    height: 39px;
    top: 261px;
    left: 895px;
  }

  .select-work-box-13 {
    width: 124px;
    height: 39px;
    top: 261px;
    left: 895px;
  }

  .select-work-box-14 {
    width: 37px;
    height: 48px;
    top: 191px;
    left: 842px;
  }

  .select-work-box-15 {
    width: 108px;
    height: 48px;
    top: 191px;
    left: 881px;
  }

  .select-work-box-16 {
    width: 98px;
    height: 48px;
    top: 191px;
    left: 992px;
  }

  .select-work-box-17 {
    width: 94px;
    height: 69px;
    top: 99px;
    left: 955px;
  }

  .select-work-box-18 {
    width: 176px;
    height: 69px;
    top: 99px;
    left: 776px;
  }

  .select-work-box-19 {
    width: 113px;
    height: 69px;
    top: 99px;
    left: 661px;
  }

  .select-work-box-20 {
    width: 113px;
    height: 69px;
    top: 99px;
    left: 546px
  }

  .select-work-box-21 {
    width: 88px;
    height: 69px;
    top: 99px;
    left: 458px
  }

  .select-work-box-22 {
    width: 129px;
    height: 88px;
    top: 79px;
    left: 327px;
  }

  .select-work-box-23 {
    width: 84px;
    height: 69px;
    top: 6px;
    left: 327px;
  }

  .select-work-box-24 {
    width: 89px;
    height: 69px;
    top: 6px;
    left: 413px;
  }

  .select-work-box-25 {
    width: 92px;
    height: 28px;
    top: 51px;
    left: 504px;
  }

  .select-work-box-26 {
    width: 133px;
    height: 28px;
    top: 51px;
    left: 600px;
  }

  .select-work-box-27 {
    width: 156px;
    height: 28px;
    top: 51px;
    left: 737px;
  }

  .select-work-box-28 {
    width: 226px;
    height: 28px;
    top: 51px;
    left: 896px;
  }

  .select-work-box-29 {
    width: 191px;
    height: 49px;
    top: 324px;
    left: 43px;
  }

  .select-work-box-30 {
    width: 191px;
    height: 18px;
    top: 332px;
    left: 244px;
  }

  .select-work-box-30 {
    width: 180px;
    height: 55px;
    top: 321px;
    left: 910px;
  }

  .select-work-box-31 {
    width: 97px;
    height: 30px;
    top: 428px;
    left: 864px;
  }

  .select-work-box-32 {
    width: 106px;
    height: 55px;
    top: 321px;
    left: 675px;
  }

  .select-work-box-33 {
    width: 104px;
    height: 55px;
    top: 321px;
    left: 570px;
  }

  .select-work-box-34 {
    width: 105px;
    height: 30px;
    top: 428px;
    left: 664px;
  }

  .select-work-box-35 {
    width: 151px;
    height: 30px;
    top: 428px;
    left: 388px;
  }

  .select-work-box-36 {
    width: 172px;
    height: 30px;
    top: 428px;
    left: 213px;
  }

  .select-work-box-37 {
    width: 170px;
    height: 30px;
    top: 428px;
    left: 42px;
  }

  .select-work-box-38 {
    width: 74px;
    height: 25px;
    top: 479px;
    left: 497px;
  }

  .select-work-box-39 {
    width: 91px;
    height: 25px;
    top: 479px;
    left: 586px;
  }

  .select-work-box-40 {
    width: 82px;
    height: 74px;
    top: 479px;
    left: 6px;
  }

  .select-work-box-41 {
    width: 93px;
    height: 74px;
    top: 479px;
    left: 88px;
  }

  .select-work-box-42 {
    width: 172px;
    height: 74px;
    top: 479px;
    left: 184px;
  }

  .select-work-box-43 {
    width: 114px;
    height: 70px;
    top: 97px;
    left: 210px;
  }

  .select-work-box-44 {
    width: 114px;
    height: 70px;
    top: 6px;
    left: 210px;
  }

  .select-work-box-45 {
    width: 114px;
    height: 160px;
    top: 6px;
    left: 6px;
  }

  .select-work-box-46 {
    width: 47px;
    height: 26px;
    top: 350px;
    left: 268px;
  }

  .select-work-box-47 {
    width: 124px;
    height: 53px;
    top: 322px;
    left: 318px;
  }
  .select-work-box-48 {
    width: 85px;
    height: 158px;
    top: 6px;
    left: 122px;

  }
}

.btn-type-list {
  ul {
    display: flex;

    li {
      width: 62px;
      height: 24px;
      line-height: 24px;
      margin-left: 10px;
      text-align: center;
      background-image: url("../img/btn-2.png");
      color: #085bc0;
      background-size: 100% 100%;
      font-size: 12px;

      &.active {
        color: #fff;
        background-image: url("../img/btn-1.png");
      }
    }
  }
}

.order-list-box {
  flex: 1;
  position: relative;
  height:24px;
  overflow: hidden;
  font-size: 12px;
  color: #fff;
  .order-list-main{
    display: flex;
    justify-content: flex-end;
    line-height: 24px;

  }
  .t_news {
    flex: 1;
    height:24px;
    color: #fff;
    padding-left: 10px;
    overflow: hidden;
    position: relative;
  }


  .news_li {
    width: 100%;
    color: #fff;
    text-align: right;
    line-height: 24px;
    padding-right: 10px;

  }

  .swap {
    top: 19px;
  }

}
